import { goBack, push } from 'react-router-redux';

/** 跳转路由 */
export const goto = url => dispatch => dispatch(push(url));
/** 后退 */
export const goback = () => dispatch => dispatch(goBack());
